From 168ff367fc7ab8cf51f1b8ebdd21b5f859f0c1da Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Tue, 6 Dec 2011 01:21:08 +0000 Subject: [PATCH] Fix for r103471: WikiPage::doSubmit() is not the only implementation of doSubmit() that needs to be patched to return true. Without this, action=purge on an image page just shows a blank body. --- includes/WikiFilePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/WikiFilePage.php b/includes/WikiFilePage.php index a7d6ccbbba..e2096b3ea7 100644 --- a/includes/WikiFilePage.php +++ b/includes/WikiFilePage.php @@ -163,6 +163,6 @@ class WikiFilePage extends WikiPage { // to be updated (in case the cached information is wrong) $this->mFile->purgeCache( array( 'forRefresh' => true ) ); } - parent::doPurge(); + return parent::doPurge(); } } -- 2.20.1